#include "Animation.h"

Animation::Animation(int animationId, int columnBegin, int rowBegin, int length, float time)
: animationId(animationId)
, columnBegin(columnBegin)
, rowBegin(rowBegin)
, length(length)
, time(time)
{
    
}

Animation::~Animation()
{
}

int Animation::getAnimationId() const
{
    return animationId;
}

int Animation::getColumnBegin() const
{
    return columnBegin;
}

int Animation::getLength() const
{
    return length;
}

int Animation::getRowBegin() const
{
    return rowBegin;
}

void Animation::setLenght( const int length )
{
    this->length = length;
}

void Animation::setRowBegin( const int rowBegin )
{
    this->rowBegin = rowBegin;
}

void Animation::setColumnBegin( const int columnBegin )
{
    this->columnBegin = columnBegin;
}

void Animation::setAnimationId( const int animationId )
{
    this->animationId = animationId;
}

int Animation::getTime() const
{
    return time;
}

void Animation::setTime( const float time )
{
    this->time = time;
}
